package cn.JHai.rbac.mapper;

import cn.JHai.rbac.domain.Department;
import cn.JHai.rbac.query.QueryObject;
import java.util.List;

public interface DepartmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    int updateByPrimaryKey(Department record);

    Long selectForCount(QueryObject queryObject);


    List<Department> pageSelect(QueryObject queryObject);
}